package pe.gob.sunat.georeferencia.model.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ClienteExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClienteExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdClienteIsNull() {
            addCriterion("ID_CLIENTE is null");
            return (Criteria) this;
        }

        public Criteria andIdClienteIsNotNull() {
            addCriterion("ID_CLIENTE is not null");
            return (Criteria) this;
        }

        public Criteria andIdClienteEqualTo(Integer value) {
            addCriterion("ID_CLIENTE =", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteNotEqualTo(Integer value) {
            addCriterion("ID_CLIENTE <>", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteGreaterThan(Integer value) {
            addCriterion("ID_CLIENTE >", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID_CLIENTE >=", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteLessThan(Integer value) {
            addCriterion("ID_CLIENTE <", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteLessThanOrEqualTo(Integer value) {
            addCriterion("ID_CLIENTE <=", value, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteIn(List<Integer> values) {
            addCriterion("ID_CLIENTE in", values, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteNotIn(List<Integer> values) {
            addCriterion("ID_CLIENTE not in", values, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteBetween(Integer value1, Integer value2) {
            addCriterion("ID_CLIENTE between", value1, value2, "idCliente");
            return (Criteria) this;
        }

        public Criteria andIdClienteNotBetween(Integer value1, Integer value2) {
            addCriterion("ID_CLIENTE not between", value1, value2, "idCliente");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoIsNull() {
            addCriterion("DES_APELLIDO_PATERNO is null");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoIsNotNull() {
            addCriterion("DES_APELLIDO_PATERNO is not null");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoEqualTo(String value) {
            addCriterion("DES_APELLIDO_PATERNO =", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoNotEqualTo(String value) {
            addCriterion("DES_APELLIDO_PATERNO <>", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoGreaterThan(String value) {
            addCriterion("DES_APELLIDO_PATERNO >", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoGreaterThanOrEqualTo(String value) {
            addCriterion("DES_APELLIDO_PATERNO >=", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoLessThan(String value) {
            addCriterion("DES_APELLIDO_PATERNO <", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoLessThanOrEqualTo(String value) {
            addCriterion("DES_APELLIDO_PATERNO <=", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoLike(String value) {
            addCriterion("DES_APELLIDO_PATERNO like", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoNotLike(String value) {
            addCriterion("DES_APELLIDO_PATERNO not like", value, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoIn(List<String> values) {
            addCriterion("DES_APELLIDO_PATERNO in", values, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoNotIn(List<String> values) {
            addCriterion("DES_APELLIDO_PATERNO not in", values, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoBetween(String value1, String value2) {
            addCriterion("DES_APELLIDO_PATERNO between", value1, value2, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoPaternoNotBetween(String value1, String value2) {
            addCriterion("DES_APELLIDO_PATERNO not between", value1, value2, "desApellidoPaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoIsNull() {
            addCriterion("DES_APELLIDO_MATERNO is null");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoIsNotNull() {
            addCriterion("DES_APELLIDO_MATERNO is not null");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoEqualTo(String value) {
            addCriterion("DES_APELLIDO_MATERNO =", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoNotEqualTo(String value) {
            addCriterion("DES_APELLIDO_MATERNO <>", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoGreaterThan(String value) {
            addCriterion("DES_APELLIDO_MATERNO >", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoGreaterThanOrEqualTo(String value) {
            addCriterion("DES_APELLIDO_MATERNO >=", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoLessThan(String value) {
            addCriterion("DES_APELLIDO_MATERNO <", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoLessThanOrEqualTo(String value) {
            addCriterion("DES_APELLIDO_MATERNO <=", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoLike(String value) {
            addCriterion("DES_APELLIDO_MATERNO like", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoNotLike(String value) {
            addCriterion("DES_APELLIDO_MATERNO not like", value, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoIn(List<String> values) {
            addCriterion("DES_APELLIDO_MATERNO in", values, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoNotIn(List<String> values) {
            addCriterion("DES_APELLIDO_MATERNO not in", values, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoBetween(String value1, String value2) {
            addCriterion("DES_APELLIDO_MATERNO between", value1, value2, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesApellidoMaternoNotBetween(String value1, String value2) {
            addCriterion("DES_APELLIDO_MATERNO not between", value1, value2, "desApellidoMaterno");
            return (Criteria) this;
        }

        public Criteria andDesNombresIsNull() {
            addCriterion("DES_NOMBRES is null");
            return (Criteria) this;
        }

        public Criteria andDesNombresIsNotNull() {
            addCriterion("DES_NOMBRES is not null");
            return (Criteria) this;
        }

        public Criteria andDesNombresEqualTo(String value) {
            addCriterion("DES_NOMBRES =", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresNotEqualTo(String value) {
            addCriterion("DES_NOMBRES <>", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresGreaterThan(String value) {
            addCriterion("DES_NOMBRES >", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresGreaterThanOrEqualTo(String value) {
            addCriterion("DES_NOMBRES >=", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresLessThan(String value) {
            addCriterion("DES_NOMBRES <", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresLessThanOrEqualTo(String value) {
            addCriterion("DES_NOMBRES <=", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresLike(String value) {
            addCriterion("DES_NOMBRES like", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresNotLike(String value) {
            addCriterion("DES_NOMBRES not like", value, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresIn(List<String> values) {
            addCriterion("DES_NOMBRES in", values, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresNotIn(List<String> values) {
            addCriterion("DES_NOMBRES not in", values, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresBetween(String value1, String value2) {
            addCriterion("DES_NOMBRES between", value1, value2, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNombresNotBetween(String value1, String value2) {
            addCriterion("DES_NOMBRES not between", value1, value2, "desNombres");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoIsNull() {
            addCriterion("DES_NRO_DOCUMENTO is null");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoIsNotNull() {
            addCriterion("DES_NRO_DOCUMENTO is not null");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoEqualTo(String value) {
            addCriterion("DES_NRO_DOCUMENTO =", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoNotEqualTo(String value) {
            addCriterion("DES_NRO_DOCUMENTO <>", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoGreaterThan(String value) {
            addCriterion("DES_NRO_DOCUMENTO >", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoGreaterThanOrEqualTo(String value) {
            addCriterion("DES_NRO_DOCUMENTO >=", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoLessThan(String value) {
            addCriterion("DES_NRO_DOCUMENTO <", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoLessThanOrEqualTo(String value) {
            addCriterion("DES_NRO_DOCUMENTO <=", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoLike(String value) {
            addCriterion("DES_NRO_DOCUMENTO like", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoNotLike(String value) {
            addCriterion("DES_NRO_DOCUMENTO not like", value, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoIn(List<String> values) {
            addCriterion("DES_NRO_DOCUMENTO in", values, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoNotIn(List<String> values) {
            addCriterion("DES_NRO_DOCUMENTO not in", values, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoBetween(String value1, String value2) {
            addCriterion("DES_NRO_DOCUMENTO between", value1, value2, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andDesNroDocumentoNotBetween(String value1, String value2) {
            addCriterion("DES_NRO_DOCUMENTO not between", value1, value2, "desNroDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoIsNull() {
            addCriterion("ID_TIPO_DOCUMENTO is null");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoIsNotNull() {
            addCriterion("ID_TIPO_DOCUMENTO is not null");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoEqualTo(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO =", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoNotEqualTo(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO <>", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoGreaterThan(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO >", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO >=", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoLessThan(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO <", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoLessThanOrEqualTo(Integer value) {
            addCriterion("ID_TIPO_DOCUMENTO <=", value, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoIn(List<Integer> values) {
            addCriterion("ID_TIPO_DOCUMENTO in", values, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoNotIn(List<Integer> values) {
            addCriterion("ID_TIPO_DOCUMENTO not in", values, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoBetween(Integer value1, Integer value2) {
            addCriterion("ID_TIPO_DOCUMENTO between", value1, value2, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andIdTipoDocumentoNotBetween(Integer value1, Integer value2) {
            addCriterion("ID_TIPO_DOCUMENTO not between", value1, value2, "idTipoDocumento");
            return (Criteria) this;
        }

        public Criteria andStSexoIsNull() {
            addCriterion("ST_SEXO is null");
            return (Criteria) this;
        }

        public Criteria andStSexoIsNotNull() {
            addCriterion("ST_SEXO is not null");
            return (Criteria) this;
        }

        public Criteria andStSexoEqualTo(String value) {
            addCriterion("ST_SEXO =", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoNotEqualTo(String value) {
            addCriterion("ST_SEXO <>", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoGreaterThan(String value) {
            addCriterion("ST_SEXO >", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoGreaterThanOrEqualTo(String value) {
            addCriterion("ST_SEXO >=", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoLessThan(String value) {
            addCriterion("ST_SEXO <", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoLessThanOrEqualTo(String value) {
            addCriterion("ST_SEXO <=", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoLike(String value) {
            addCriterion("ST_SEXO like", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoNotLike(String value) {
            addCriterion("ST_SEXO not like", value, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoIn(List<String> values) {
            addCriterion("ST_SEXO in", values, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoNotIn(List<String> values) {
            addCriterion("ST_SEXO not in", values, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoBetween(String value1, String value2) {
            addCriterion("ST_SEXO between", value1, value2, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStSexoNotBetween(String value1, String value2) {
            addCriterion("ST_SEXO not between", value1, value2, "stSexo");
            return (Criteria) this;
        }

        public Criteria andStClienteIsNull() {
            addCriterion("ST_CLIENTE is null");
            return (Criteria) this;
        }

        public Criteria andStClienteIsNotNull() {
            addCriterion("ST_CLIENTE is not null");
            return (Criteria) this;
        }

        public Criteria andStClienteEqualTo(String value) {
            addCriterion("ST_CLIENTE =", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteNotEqualTo(String value) {
            addCriterion("ST_CLIENTE <>", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteGreaterThan(String value) {
            addCriterion("ST_CLIENTE >", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CLIENTE >=", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteLessThan(String value) {
            addCriterion("ST_CLIENTE <", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteLessThanOrEqualTo(String value) {
            addCriterion("ST_CLIENTE <=", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteLike(String value) {
            addCriterion("ST_CLIENTE like", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteNotLike(String value) {
            addCriterion("ST_CLIENTE not like", value, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteIn(List<String> values) {
            addCriterion("ST_CLIENTE in", values, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteNotIn(List<String> values) {
            addCriterion("ST_CLIENTE not in", values, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteBetween(String value1, String value2) {
            addCriterion("ST_CLIENTE between", value1, value2, "stCliente");
            return (Criteria) this;
        }

        public Criteria andStClienteNotBetween(String value1, String value2) {
            addCriterion("ST_CLIENTE not between", value1, value2, "stCliente");
            return (Criteria) this;
        }

        public Criteria andDesEmailIsNull() {
            addCriterion("DES_EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andDesEmailIsNotNull() {
            addCriterion("DES_EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andDesEmailEqualTo(String value) {
            addCriterion("DES_EMAIL =", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailNotEqualTo(String value) {
            addCriterion("DES_EMAIL <>", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailGreaterThan(String value) {
            addCriterion("DES_EMAIL >", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailGreaterThanOrEqualTo(String value) {
            addCriterion("DES_EMAIL >=", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailLessThan(String value) {
            addCriterion("DES_EMAIL <", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailLessThanOrEqualTo(String value) {
            addCriterion("DES_EMAIL <=", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailLike(String value) {
            addCriterion("DES_EMAIL like", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailNotLike(String value) {
            addCriterion("DES_EMAIL not like", value, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailIn(List<String> values) {
            addCriterion("DES_EMAIL in", values, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailNotIn(List<String> values) {
            addCriterion("DES_EMAIL not in", values, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailBetween(String value1, String value2) {
            addCriterion("DES_EMAIL between", value1, value2, "desEmail");
            return (Criteria) this;
        }

        public Criteria andDesEmailNotBetween(String value1, String value2) {
            addCriterion("DES_EMAIL not between", value1, value2, "desEmail");
            return (Criteria) this;
        }

        public Criteria andFecModificoIsNull() {
            addCriterion("FEC_MODIFICO is null");
            return (Criteria) this;
        }

        public Criteria andFecModificoIsNotNull() {
            addCriterion("FEC_MODIFICO is not null");
            return (Criteria) this;
        }

        public Criteria andFecModificoEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO =", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoNotEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO <>", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoGreaterThan(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO >", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO >=", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoLessThan(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO <", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICO <=", value, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_MODIFICO in", values, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoNotIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_MODIFICO not in", values, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_MODIFICO between", value1, value2, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecModificoNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_MODIFICO not between", value1, value2, "fecModifico");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIsNull() {
            addCriterion("FEC_REGISTRO is null");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIsNotNull() {
            addCriterion("FEC_REGISTRO is not null");
            return (Criteria) this;
        }

        public Criteria andFecRegistroEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO =", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <>", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroGreaterThan(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO >", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO >=", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroLessThan(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <=", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_REGISTRO in", values, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_REGISTRO not in", values, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_REGISTRO between", value1, value2, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_REGISTRO not between", value1, value2, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroIsNull() {
            addCriterion("DES_USUARIO_REGISTRO is null");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroIsNotNull() {
            addCriterion("DES_USUARIO_REGISTRO is not null");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroEqualTo(String value) {
            addCriterion("DES_USUARIO_REGISTRO =", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroNotEqualTo(String value) {
            addCriterion("DES_USUARIO_REGISTRO <>", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroGreaterThan(String value) {
            addCriterion("DES_USUARIO_REGISTRO >", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroGreaterThanOrEqualTo(String value) {
            addCriterion("DES_USUARIO_REGISTRO >=", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroLessThan(String value) {
            addCriterion("DES_USUARIO_REGISTRO <", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroLessThanOrEqualTo(String value) {
            addCriterion("DES_USUARIO_REGISTRO <=", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroLike(String value) {
            addCriterion("DES_USUARIO_REGISTRO like", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroNotLike(String value) {
            addCriterion("DES_USUARIO_REGISTRO not like", value, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroIn(List<String> values) {
            addCriterion("DES_USUARIO_REGISTRO in", values, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroNotIn(List<String> values) {
            addCriterion("DES_USUARIO_REGISTRO not in", values, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroBetween(String value1, String value2) {
            addCriterion("DES_USUARIO_REGISTRO between", value1, value2, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioRegistroNotBetween(String value1, String value2) {
            addCriterion("DES_USUARIO_REGISTRO not between", value1, value2, "desUsuarioRegistro");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoIsNull() {
            addCriterion("DES_USUARIO_MODIFICO is null");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoIsNotNull() {
            addCriterion("DES_USUARIO_MODIFICO is not null");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoEqualTo(String value) {
            addCriterion("DES_USUARIO_MODIFICO =", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoNotEqualTo(String value) {
            addCriterion("DES_USUARIO_MODIFICO <>", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoGreaterThan(String value) {
            addCriterion("DES_USUARIO_MODIFICO >", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoGreaterThanOrEqualTo(String value) {
            addCriterion("DES_USUARIO_MODIFICO >=", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoLessThan(String value) {
            addCriterion("DES_USUARIO_MODIFICO <", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoLessThanOrEqualTo(String value) {
            addCriterion("DES_USUARIO_MODIFICO <=", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoLike(String value) {
            addCriterion("DES_USUARIO_MODIFICO like", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoNotLike(String value) {
            addCriterion("DES_USUARIO_MODIFICO not like", value, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoIn(List<String> values) {
            addCriterion("DES_USUARIO_MODIFICO in", values, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoNotIn(List<String> values) {
            addCriterion("DES_USUARIO_MODIFICO not in", values, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoBetween(String value1, String value2) {
            addCriterion("DES_USUARIO_MODIFICO between", value1, value2, "desUsuarioModifico");
            return (Criteria) this;
        }

        public Criteria andDesUsuarioModificoNotBetween(String value1, String value2) {
            addCriterion("DES_USUARIO_MODIFICO not between", value1, value2, "desUsuarioModifico");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}